WooCommerce\PayPalCommerce\ApiClient\Factory\OrderFactory S

Total Complexity 22
Dependencies 9
Dependents 4
Total lines 166
Lines of code 70
Logical lines of code 42
Comment lines 81
Methods 10
Properties 2

Methods 10

Method Rating Maintainability Complexity Lines of code
create_payment_source()
S
57 5 18
create_purchase_units()
S
61 5 13
create_timestamps()
S
70 3 5
validate_order_id()
S
73 2 5
create_payer()
S
78 2 3
from_paypal_response()
S
61 1 11
__construct()
S
77 1 4
from_wc_order()
S
73 1 4
create_order_status()
S
75 1 4
get_intent()
S
80 1 3